package com.ios.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class DisablerLocation {
    private int id;

    private int disablerId;

    private String disablerLatitude;

    private String disablerLongitude;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getDisablerId() {
        return disablerId;
    }

    public void setDisablerId(int disablerId) {
        this.disablerId = disablerId;
    }

    public String getDisablerLatitude() {
        return disablerLatitude;
    }

    public void setDisablerLatitude(String disablerLatitude) {
        this.disablerLatitude = disablerLatitude;
    }

    public String getDisablerLongitude() {
        return disablerLongitude;
    }

    public void setDisablerLongitude(String disablerLongitude) {
        this.disablerLongitude = disablerLongitude;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "DisablerLocation{" +
                "id=" + id +
                ", disablerId=" + disablerId +
                ", disablerLatitude='" + disablerLatitude + '\'' +
                ", disablerLongitude='" + disablerLongitude + '\'' +
                ", createTime=" + createTime +
                '}';
    }
}
